|
[code] hier tekst [/code]
dit script zorgt er voor dat alle html dat tussen
[code] [/code] staat niet word uitgevoert
<?
$script="<html> test </html><BR> [CODE]<font color=red> niet uitvoeren<br> </font>[/CODE] <BR> dit was de tekst <b> deze code gewoon uitvoeren </b>";
$script=eregi_replace("\[CODE\](.*)\[/CODE\]","<xmp style='display: inline; font-family: arial'>\\1</xmp>",$script);
echo $script;
?>
download het script
Reacties van leden
|